<div class="issue-heading">
  <div class="container">
    <%= link_to 'back',:back, class: "btn btn-primary" %>
  </div>
</div>
<div class="new-issue-form-container clearfix">
 <div class="issue-list">
  <% @logs.each do |l| %>
    <article class="issue clearfix">
      <div class="body">
        <a class="read-more" href="#">#<%= l.id %></a>
        <h5 class="title">
          <%= l.title %>
        </h5>
        <span class="meta-data">
          <%= l.note %>
        </span>
        <%= markdown l.content %>
      </div>
      <div class="issue-comment-count">
        <i class="fa fa-comments icon-muted"></i>
        <%= l.created_at.strftime("%Y-%m-%d %H:%M") %>
      </div>
      <%= link_to 'restore', restore_article_path(:id=>l.article.id,:lid =>l.id), class: "btn btn-primary btn-right" %>
    </article>
  <% end %>
  </div>
</div>
<%= paginate @logs %>